package com.rongc.client.freight.base.model;

import com.amap.api.services.help.Tip;

import java.io.Serializable;

/**
 * Created by Bruce on 2017/7/9.
 */
public class TipTemp implements Serializable{
    private static final long serialVersionUID = -1L;

    public TipTemp() {
        setID("-1");
    }


    public TipTemp(Tip tip) {
        setTip(tip);
    }

    public void setTip(Tip tip){
        setID(tip.getPoiID());
        setLongitude(tip.getPoint().getLongitude()+"");
        setLatitude(tip.getPoint().getLatitude()+"");
        setName(tip.getName());
        setDistrict(tip.getDistrict());
        setAdcode(tip.getAdcode());
        setAddress(tip.getAddress());
        setTypeCode(tip.getTypeCode());
    }



    private String a;

    private String b1;
    private String b2;
    private String c;
    private String d;
    private String e;
    private String f;
    private String g;


    public String getPoiID() {
        return this.a;
    }

    public void setID(String var1) {
        this.a = var1;
    }

    public String getLatitude() {
        return b2;
    }

    public void setLatitude(String b2) {
        this.b2 = b2;
    }

    public String getLongitude() {
        return b1;
    }

    public void setLongitude(String b1) {
        this.b1 = b1;
    }


    public String getName() {
        return this.c;
    }

    public void setName(String var1) {
        this.c = var1;
    }

    public String getDistrict() {
        return this.d;
    }

    public void setDistrict(String var1) {
        this.d = var1;
    }

    public String getAdcode() {
        return this.e;
    }

    public void setAdcode(String var1) {
        this.e = var1;
    }

    public String getAddress() {
        return this.f;
    }

    public void setAddress(String var1) {
        this.f = var1;
    }

    public void setTypeCode(String var1) {
        this.g = var1;
    }

    public String getTypeCode() {
        return this.g;
    }

}
